package com.itfreer.bpm.config.service;

import javax.ws.rs.Path;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.itfreer.bpm.config.entity.BpmConfigEntity;
import com.itfreer.bpm.config.service.IBpmConfigService;
import com.itfreer.form.api.BaseRestService;
import com.itfreer.form.api.BaseService;

/**
 * 流程配置接口
 * 
 * @author gj
 *
 */
@Component
@Path("/bpmconfig/")
public class RestBpmConfigService extends BaseRestService<BpmConfigEntity> {

	@Autowired
	private IBpmConfigService BpmConfigService;

	@Override
	protected BaseService<BpmConfigEntity> getService() {
		return BpmConfigService;
	}

	@Override
	protected String getServiceName() {
		return "bpmconfig";
	}
}
